<template>
  <router-view @chgPage="chgPage"></router-view>
</template>

<script>

import axios from 'axios'

axios.defaults.withCredentials = true

export default {
  name: 'App',
  methods: {
    chgPage(path) {
      console.log(path)
      this.$router.push(path)
    }
  },
  components: {},
}
</script>

<style scoped>
body{
  padding: 0;
  margin: 0;
}
</style>